package com.letoken.platform.repo.ecommerce.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺运费模板
 * </p>
 *
 * @author author
 * @since 2023-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ecommerce_freight_template")
@ApiModel(value="EcommerceFreightTemplate对象", description="店铺运费模板")
public class EcommerceFreightTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "店铺ID")
    private Integer mallId;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "是否免运费 1是 2否")
    private Integer freeShipping;

    @ApiModelProperty(value = "偏远地方是否免运费 1是 2否")
    private Integer farFreeShipping;


    @ApiModelProperty(value = "首件数量")
    private Integer firstArticle;

    @ApiModelProperty(value = "续件数量")
    private Integer addArticle;

    @ApiModelProperty(value = "首件运费")
    private BigDecimal firstShipping;

    @ApiModelProperty(value = "续件运费")
    private BigDecimal addShipping;

    @ApiModelProperty(value = "偏远区域")
    private String farRegion;

    @ApiModelProperty(value = "偏远首件数量")
    private Integer farFirstArticle;

    @ApiModelProperty(value = "偏远续件数量")
    private Integer farAddArticle;

    @ApiModelProperty(value = "偏远首件运费")
    private BigDecimal farFirstShipping;

    @ApiModelProperty(value = "偏远续件运费")
    private BigDecimal farAddShipping;

    @ApiModelProperty(value = "是否为默认 0否 1是")
    private Integer defaultStatus;

    @ApiModelProperty(value = "0未删除1已删除")
    private Integer deleteStatus;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
